﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels.WorkforceManage;
using VOL.SmartMecial.Infrastructure;
using VOL.SmartMecial.IServices.WorkforceManage;

namespace VOL.SmartMecial.Services.WorkforceManage
{
    public class NurseGroupService:INurseGroupService
    {
        private readonly IBaseRepository<NurseGroupModel> nurseGroupRepo;

        public NurseGroupService(IBaseRepository<NurseGroupModel> nurseGroupRepo)
        {
            this.nurseGroupRepo = nurseGroupRepo;
        }

        public List<NurseGroupModel> GetNurseGroups()
        {
            return nurseGroupRepo.GetAll().ToList();
        }
    }
}
